Neighbor

interface Neighbor : Element

Inheritors

Properties

Link copied to clipboard
abstract val neighbor: EnumMap<NavigationDirection, Neighbor>

Functions

Link copied to clipboard
open fun charTyped(chr: Char, modifiers: Int): Boolean
Link copied to clipboard
@Nullable
open fun getFocusedPath(): GuiNavigationPath?
Link copied to clipboard
open fun getNavigationFocus(): ScreenRect
Link copied to clipboard
Link copied to clipboard
@Nullable
open fun getNavigationPath(navigation: GuiNavigation): GuiNavigationPath?
Link copied to clipboard
open fun getNeighbor(direction: NavigationDirection): Neighbor?
Link copied to clipboard
abstract fun isFocused(): Boolean
Link copied to clipboard
open fun isMouseOver(mouseX: Double, mouseY: Double): Boolean
Link copied to clipboard
open fun keyPressed(keyCode: Int, scanCode: Int, modifiers: Int): Boolean
Link copied to clipboard
open fun keyReleased(keyCode: Int, scanCode: Int, modifiers: Int): Boolean
Link copied to clipboard
open fun mouseClicked(mouseX: Double, mouseY: Double, button: Int): Boolean
Link copied to clipboard
open fun mouseDragged(mouseX: Double, mouseY: Double, button: Int, deltaX: Double, deltaY: Double): Boolean
Link copied to clipboard
open fun mouseMoved(mouseX: Double, mouseY: Double)
Link copied to clipboard
open fun mouseReleased(mouseX: Double, mouseY: Double, button: Int): Boolean
Link copied to clipboard
open fun mouseScrolled(mouseX: Double, mouseY: Double, amount: Double): Boolean
Link copied to clipboard
abstract fun setFocused(focused: Boolean)
Link copied to clipboard
open fun setNeighbor(direction: NavigationDirection, neighbor: Neighbor?)